package com.synjones.wschool.face.mapper;

import com.synjones.wschool.face.domain.OrderMeal;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created by 24398 on 2018/7/20.
 */
public interface OrderMealMapper {
    List<OrderMeal> listOrderMeal(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate);
    int deleteByPrimaryKey(Long id);

    int insert(OrderMeal record);

    int insertSelective(OrderMeal record);

    OrderMeal selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderMeal record);

    int updateByPrimaryKey(OrderMeal record);

    List<OrderMeal> listByIds(@Param("list") List<Long> orderMealIds);
}
